Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data/config for InvenioRDM #378

Merged
merged 1 commit into from
Aug 2, 2024
Merged

Conversation

rpoet-jh
Copy link
Contributor

@rpoet-jh rpoet-jh commented Jul 29, 2024

This PR contains changes to the demo_data and configuration to be able to test the PASS and InvenioRDM integration.

Here are the steps to get things up and running and do the submisson/deposit:

Run mvn clean install in the pass-support/pass-deposit-services module.

Start InvenioRDM and generate access token:

  • cd to the pass-docker/invenio-rdm directory and run ./start.sh, wait for the server to fully start
  • open a browser and go to https://172.0.0.1/ and login using the admin user in pass-docker/invenio-rdm/pass-docker-invenio-rdm/app_data/users.yaml
  • click on the user menu button on the top right and click Applications
  • click New token in the Personal access tokens
  • enter a Name and click Create
  • copy the Access token
  • paste the token value in the pass-docker/.eclipse-pass.local_env as the value for the INVENIORDM_API_TOKEN property

Start pass-docker:

  • in the pass-docker dir, run docker compose -p pass-docker -f docker-compose.yml -f eclipse-pass.local.yml -f docker-compose-deposit.yml -f docker-compose-deposit-invenio-rdm.yml up -d --no-build --quiet-pull

Submit submission:

  • open a browser and go to http://localhost:8080/app/
  • login using the staff1 user
  • Create a new submission
  • on the grant selection, select the PASS TEST INVENIORDM GRANT grant
  • on the Details, enter a Publisher name, Publication Date (yyyy-mm-dd), Author in format <last_name>, <first_name>

After the submission is processed, a link will show up for the deposit on the submission details page. You can click the link to the view the deposit in invenioRdm.

Note: There is this bug I ran across that I need to address: eclipse-pass/pass-support#122 (comment). I will update this PR once I have put a fix in to handle this issue.
I have added a retry for this call so it is good now.

@rpoet-jh rpoet-jh requested a review from markpatton July 29, 2024 20:31
@rpoet-jh rpoet-jh self-assigned this Jul 29, 2024
Copy link
Contributor

@markpatton markpatton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I walked through the instructions and did a bunch of testing. The inveniordm integration worked well.

@rpoet-jh rpoet-jh force-pushed the 960-rdp-deposit-services-inveniordm branch from ef6c9e6 to 04b5bea Compare July 31, 2024 17:47
@rpoet-jh rpoet-jh force-pushed the 960-rdp-deposit-services-inveniordm branch from 04b5bea to a86e6a5 Compare August 2, 2024 13:26
@rpoet-jh rpoet-jh merged commit 3ef95df into main Aug 2, 2024
2 checks passed
@rpoet-jh rpoet-jh deleted the 960-rdp-deposit-services-inveniordm branch August 6, 2024 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Configure pass-docker deposit services for deposit into InvenioRDM
2 participants